defaultEncoding

abstract fun defaultEncoding(): String

Returns a string that represents the default text encoding.


abstract fun defaultEncoding(defaultEncoding: String)

Updates the default text encoding with the given value.

Parameters

defaultEncoding

a string that represents the new default text encoding

Throws

when defaultEncoding is empty or blank

when the browser is closed